import { registerApplication, start } from "single-spa";

registerApplication({
  name: "single-spa-test-vue",
  app: () => System.import("single-spa-test-vue"),
  activeWhen: ["/"],
});

registerApplication({
  name: "@canwdev/single-spa-test-react",
  app: () => System.import("@canwdev/single-spa-test-react"),
  activeWhen: ["/"],
});

// registerApplication({
//   name: "@canwdev/navbar",
//   app: () => System.import("@canwdev/navbar"),
//   activeWhen: ["/"]
// });

start({
  urlRerouteOnly: true,
});
